package com.asiainfo.wx.api.apibase.bean;

import java.util.List;

/**
 * Copyright: Copyright (c) 2019  zteits
 *
 * @ClassName: com.asiainfo.wx.api.apibase.bean
 * @Description: 分页响应数据基类
 * @version: v1.0.0
 * @author: atao
 * @date: 2019-10-29   17:23
 * Modification History:
 * Date         Author          Version      Description
 * ---------------------------------------------------------*
 * 2019-10-29      atao          v1.0.0          创建
 */
public class PageDTO<T> extends BaseDTO {

    /**
     * 数据.
     */
    private List<T> dataList;
    /**
     * 当前页.
     */
    private Integer pageNum;
    /**
     * 每页显示条数.
     */
    private Integer pageSize;
    /**
     * 总条数.
     */
    private Integer pageTotals;
    /**
     * 总页页数.
     */
    private Integer pages;

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageTotals() {
        return pageTotals;
    }

    public void setPageTotals(Integer pageTotals) {
        this.pageTotals = pageTotals;
    }

    public Integer getPages() {
        return pages;
    }

    public void setPages(Integer pages) {
        this.pages = pages;
    }
}
